package com.easipass.epug.service;

import com.easipass.epug.dao.DataTableDao;
import com.easipass.epug.entity.DataTable;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * Created by Wangxuyang on 16/6/3.
 */
@Service("dataTableService")
public class DataTableServiceImp implements DataTableService {
    @Resource(name = "dataTableDao")
    private DataTableDao dataTableDao;
    public void add(DataTableDao dataTableDao) {
        this.dataTableDao.add(dataTableDao);
    }
    public List<DataTable> getAll() {
        return this.dataTableDao.getAll();
    }
}
